package extend.application;

public class Text {
    public static void main(String[] args) {
        //目标：搞清楚继承的好处
        Teacher t = new Teacher();
        t.setName("bobo");
        t.setSkil("吃饭，睡觉，看电视");
        System.out.println(t.getName());
        t.ptintInfo();
    }

}


